package example;

/**
 * 炒面类（具体的构建角色）
 */
public class FriedNoodles extends  FastFood {

    public FriedNoodles(double price, String desc) {
        super(price, desc);
    }

    @Override
    public double cost() {
        return super.getPrice();
    }
}
